<template>
  <div style="min-height: 300px">
    <a-table :bordered="{cell:true}" :pagination="false" stripe :data="state.orderList">
      <template #columns>
        <a-table-column title="行号" data-index="lineno"></a-table-column>
        <a-table-column title="合同号" data-index="hth"></a-table-column>
        <a-table-column title="料号" data-index="liaohao"></a-table-column>
        <a-table-column title="品名" data-index="pinming"></a-table-column>
        <a-table-column title="规格" data-index="guige"></a-table-column>
        <a-table-column title="销售单位" data-index="danwei"></a-table-column>
        <a-table-column title="计价数量" data-index="count"></a-table-column>
        <a-table-column title="交期" data-index="jiaoqi"></a-table-column>
      </template>
    </a-table>
  </div>
</template>

<script lang="ts" setup>
import {reactive, ref, onMounted, defineProps, defineEmits, nextTick} from "vue";
const emit = defineEmits(['update:modelValue'])
let props = defineProps({
  modelValue : {type : Boolean, default: true},
  entityId : {type : Number, default: 0}
})
let state = reactive({
  orderList : [
    {lineno:10, hth:'2022-2L-29',liaohao:'L51101-00001',pinming:'H13',guige:'#', danwei:'T', count:'27.45', jiaoqi:"2025-03-31"},
    {lineno:20, hth:'2022-2L-29',liaohao:'L51101-00001',pinming:'H13',guige:'#', danwei:'T', count:'15.45', jiaoqi:"2025-03-31"},
    {lineno:30, hth:'2022-2L-29',liaohao:'L51101-00003',pinming:'H15',guige:'#', danwei:'T', count:'27.45', jiaoqi:"2025-03-31"}
  ]
})

onMounted(()=>{
  nextTick(()=>{
  })
})
</script>

<style scoped>

</style>
